#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<math.h>
int main()
{
    double a = 0;
    double b = 0;
    double c = 0;
    scanf("%lf%lf%lf", &a, &b, &c);
    double L = a + b + c;
    double p = L / 2;
    double A = sqrt(p * (p - a) * (p - b) * (p - c));
    printf("circumference=%.2f area=%.2f\n", L, A);

    return 0;
}